package org.oslims.domain;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("NUMBER")
public class NumberParameterResult extends ParameterResult {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8540152879218633227L;
	@Column(name = "NUMBER_RESULT")
	private Double result;

	public Double getResult() {
		return result;
	}

	public void setResult(Double result) {
		this.result = result;
	}

	@Override
	public String toString() {
		if (result != null)
			return result.toString();
		return "";
	}

}
